-- GENERATED SPELL FOR [Murk Thresher] --


function spell0_4389(pUnit, Event) --@Thrash,Self--
pUnit:FullCastSpellOnTarget(3391,pUnit)
pUnit:RegisterEvent('Sorts_4389', 540, 1)
end

function Sorts_4389(pUnit, Event)
local choix_sorts_4389 = math.random(0, 0)
if choix_sorts_4389 == 0 then
pUnit:RegisterEvent('spell0_4389', 1, 1)
end
end

function mob4389_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4389', math.random(1500, 3000), 1)
end

function mob4389_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4389_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4389_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4389, 1, 'mob4389_Action')
RegisterUnitEvent(4389, 2, 'mob4389_Leave')
RegisterUnitEvent(4389, 3, 'mob4389_Kill')
RegisterUnitEvent(4389, 4, 'mob4389_Die')
